import App from "./App.vue"
import router from "./router"
import setupMyComp from "@/lowCodeCop/index"
import setupDirectives from '@/directive/index'
import '@imengyu/vue3-context-menu/lib/vue3-context-menu.css'
import ContextMenu from '@imengyu/vue3-context-menu'
import { createApp } from "vue"
import { createPinia } from "pinia"


function setupApp() {
    const app = createApp(App)
    setupDirectives(app)
    app.use(createPinia())
    // app.use(setupMyComp)
    app.use(router)
    app.use(ContextMenu)
    app.mount("#app")
}
setupApp()